home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmScrollBarSetValues.z / XmScrollBarSetValues
Encoding:
Text File  |  2003-11-18  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSccccrrrroooollllllllBBBBaaaarrrrSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmSSSSccccrrrroooollllllllBBBBaaaarrrrSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_c_r_o_l_l_B_a_r_S_e_t_V_a_l_u_e_s - A ScrollBar function that changes
  10.       ScrollBar's increment    values and the slider's    size and
  11.       position
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/ScrollBar.h>
  15.  
  16.       void _X_m_S_c_r_o_l_l_B_a_r_S_e_t_V_a_l_u_e_s (wwwwiiiiddddggggeeeetttt,,,, vvvvaaaalllluuuueeee,,,,
  17.             sssslllliiiiddddeeeerrrr____ssssiiiizzzzeeee,,,, iiiinnnnccccrrrreeeemmmmeeeennnntttt,,,, ppppaaaaggggeeee____iiiinnnnccccrrrreeeemmmmeeeennnntttt,,,, nnnnoooottttiiiiffffyyyy)
  18.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  19.            _i_n_t     vvvvaaaalllluuuueeee;
  20.            _i_n_t     sssslllliiiiddddeeeerrrr____ssssiiiizzzzeeee;
  21.            _i_n_t     iiiinnnnccccrrrreeeemmmmeeeennnntttt;
  22.            _i_n_t     ppppaaaaggggeeee____iiiinnnnccccrrrreeeemmmmeeeennnntttt;
  23.            _B_o_o_l_e_a_n     nnnnoooottttiiiiffffyyyy;
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.       _X_m_S_e_t_S_c_r_o_l_l_B_a_r_V_a_l_u_e_s changes the ScrollBar's increment
  27.       values and the slider's size and position.  The scroll
  28.       region is overlaid with a slider bar that is adjusted    in
  29.       size and position using the main ScrollBar or    set slider
  30.       function attributes.
  31.  
  32.       wwwwiiiiddddggggeeeetttt
  33.            Specifies the ScrollBar widget ID.
  34.  
  35.       vvvvaaaalllluuuueeee
  36.            Specifies the ScrollBar's slider    position between
  37.            _X_m_N_m_i_n_i_m_u_m and _X_m_N_m_a_x_i_m_u_m.  The resource    name
  38.            associated with this argument is    _X_m_N_v_a_l_u_e.
  39.  
  40.       sssslllliiiiddddeeeerrrr____ssssiiiizzzzeeee
  41.            Specifies the size of the slider    as a value between
  42.            zero and    the absolute value of _X_m_N_m_a_x_i_m_u_m minus
  43.            _X_m_N_m_i_n_i_m_u_m.  The    size of    the slider varies, depending
  44.            on how much of the slider scroll    area it    represents.
  45.            This sets the _X_m_N_s_l_i_d_e_r_S_i_z_e resource associated with
  46.            ScrollBar.
  47.  
  48.       iiiinnnnccccrrrreeeemmmmeeeennnntttt
  49.            Specifies the amount of button increment    and decrement.
  50.            If this argument    is not zero, the ScrollBar widget
  51.            automatically adjusts the slider    when an    increment or
  52.            decrement action    occurs.     This sets the _X_m_N_i_n_c_r_e_m_e_n_t
  53.            resource    associated with    ScrollBar.
  54.  
  55.       ppppaaaaggggeeee____iiiinnnnccccrrrreeeemmmmeeeennnntttt
  56.            Specifies the amount of page increment and decrement.
  57.            If this argument    is not zero, the ScrollBar widget
  58.            automatically adjusts the slider    when an    increment or
  59.            decrement action    occurs.     This sets the
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmSSSSccccrrrroooollllllllBBBBaaaarrrrSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmSSSSccccrrrroooollllllllBBBBaaaarrrrSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX))))
  71.  
  72.  
  73.  
  74.            _X_m_N_p_a_g_e_I_n_c_r_e_m_e_n_t    resource associated with ScrollBar.
  75.  
  76.       nnnnoooottttiiiiffffyyyy
  77.            Specifies a Boolean value that when True, indicates a
  78.            change in the ScrollBar value and also specifies    that
  79.            the ScrollBar widget automatically activates the
  80.            _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k with the    recent change.    If
  81.            False, specifies    any change that    has occurred in    the
  82.            ScrollBar's value, but _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k is not
  83.            activated.
  84.  
  85.       For a    complete definition of ScrollBar and its associated
  86.       resources, see _X_m_S_c_r_o_l_l_B_a_r(_3_X).
  87.  
  88.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  89.       _X_m_S_c_r_o_l_l_B_a_r(_3_X).
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.